package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsRiskMonitor;
import com.cs.cssupplier.mapper.CsPersonnelMapper;
import com.cs.cssupplier.mapper.CsRiskMonitorMapper;
import com.cs.cssupplier.service.CsRiskMonitorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_risk_monitor(供应商风险监控)】的数据库操作Service实现
* @createDate 2024-11-27 14:09:09
*/
@Service
public class CsRiskMonitorServiceImpl implements CsRiskMonitorService{
    @Resource
    private CsRiskMonitorMapper mapper;
    @Override
    public CsRiskMonitor selectCsRiskMonitor(Long rmId) {
        return mapper.selectCsRiskMonitor(rmId);
    }

    @Override
    public List<CsRiskMonitor> selectCsRiskMonitorList(CsRiskMonitor csRiskMonitor) {
        return mapper.selectCsRiskMonitorList(csRiskMonitor);
    }

    @Override
    public int insertCsRiskMonitor(CsRiskMonitor csRiskMonitor) {
        return mapper.insertCsRiskMonitor(csRiskMonitor);
    }

    @Override
    public int updateCsRiskMonitor(CsRiskMonitor csRiskMonitor) {
        return mapper.updateCsRiskMonitor(csRiskMonitor);
    }

    @Override
    public int deleteCsRiskMonitor(Long rmId) {
        return mapper.deleteCsRiskMonitor(rmId);
    }

    @Override
    public int deleteListCsRiskMonitor(Long[] rmIds) {
        return mapper.deleteListCsRiskMonitor(rmIds);
    }
}




